Welcome![Sign In][Sign Up]
Location:
Search - b tree in java

Search list

[JSP/JavasourceParserDemo

Description: 1. 识别java源码的语法结构,生成结点类型为具体源码成份的结点树。 2. 解析Java源码并从指定的方法入口处开始执行,在执行的过程中可以执行外部插入的执行逻辑。类似于AOP,但所截获的目标可以是方法也可以是任意细粒度的代码。 3. 解析Java源码并从指定的方法入口处开始执行,在执行过程中对不合理的代码进行预警。预警功能是我兴趣所在,亦将得到大力加强。 4. 静态处理: ① 对源码进行合法性检查,以保证其符合具体项目中的要求。类似于Java代码缺陷自动分析工具“Findbugs”. ② 执行某些复杂的重构任务,如将数组改为java.util.List,改变方法调用中的参数秩序,如将方法count(int a, String b)改写为count(String b, int a)。-A. Identify the grammatical structure of the Java source generated node type for the composition of the specific source node tree. 2 parse Java source code and start from the specified method at the entrance to the execution logic in the process of implementation can be performed externally inserted. Similar to the AOP, but intercepted by the target can be arbitrarily fine-grained code. 3 parsing Java source code and start from the entrance to the method specified warning unreasonable code in the implementation process. The early warning function is my interest, and will be significantly strengthened. 4 static processing: ① check the legality of the source code, to ensure that they meet specific project requirements. Similar to the Java code defect automatic analysis tools Findbugs. " ② perform the complex task of reconstruction, such as the array to be changed of java.util.List, change the parameter order in the method call, method count (int a, a String b) be rewritten as count (
Platform: | Size: 1627136 | Author: jinbingwei | Hits:
« 1 2»

CodeBus www.codebus.net